package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {


    void insert(List<DishFlavor> flavors);


    DishFlavor update(List<DishFlavor> flavors);

    List<DishFlavor> getDFById(Long id);

    void delect(Dish dish);
}
